from turtle import *
# setheading() 改变航向角
for i in range(0, 360, 30):
    setheading(i)
    forward(100)
    write(str(i) + '°')
    backward(100)
done()
